package com.ruoyi.btlfbreed.mapper;

import java.util.List;

import com.ruoyi.btlfbreed.domain.MyTbChickenHouses;
import com.ruoyi.btlfbreed.domain.TbChickenDisinfectionRecords;
import com.ruoyi.btlfbreed.domain.TbChickenHouses;

/**
 * chickenHousesMapper接口
 * 
 * @author codeman
 * @date 2024-05-03
 */
public interface TbChickenHousesMapper 
{
    /**
     * 查询chickenHouses
     * 
     * @param houseId chickenHouses主键
     * @return chickenHouses
     */
    public TbChickenHouses selectTbChickenHousesByHouseId(Long houseId);

    /**
     * 查询chickenHouses列表
     * 
     * @param tbChickenHouses chickenHouses
     * @return chickenHouses集合
     */
    public List<TbChickenHouses> selectTbChickenHousesList(TbChickenHouses tbChickenHouses);

    /**
     * 新增chickenHouses
     * 
     * @param tbChickenHouses chickenHouses
     * @return 结果
     */
    public int insertTbChickenHouses(TbChickenHouses tbChickenHouses);

    /**
     * 修改chickenHouses
     * 
     * @param tbChickenHouses chickenHouses
     * @return 结果
     */
    public int updateTbChickenHouses(TbChickenHouses tbChickenHouses);

    /**
     * 删除chickenHouses
     * 
     * @param houseId chickenHouses主键
     * @return 结果
     */
    public int deleteTbChickenHousesByHouseId(Long houseId);

    /**
     * 批量删除chickenHouses
     * 
     * @param houseIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTbChickenHousesByHouseIds(Long[] houseIds);

    /**
     * 批量删除消毒记录
     *
     * @param houseIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTbChickenDisinfectionRecordsByChickenHouseIds(Long[] houseIds);

    /**
     * 批量新增消毒记录
     *
     * @param tbChickenDisinfectionRecordsList 消毒记录列表
     * @return 结果
     */
    public int batchTbChickenDisinfectionRecords(List<TbChickenDisinfectionRecords> tbChickenDisinfectionRecordsList);


    /**
     * 通过chickenHouses主键删除消毒记录信息
     *
     * @param houseId chickenHousesID
     * @return 结果
     */
    public int deleteTbChickenDisinfectionRecordsByChickenHouseId(Long houseId);

}
